﻿using System.Xml.Serialization;

namespace MetaMapics.Gpx
{
  public class Bounds
  {
    [XmlAttribute("minlat")] public double MinLat { get; set; }
    [XmlAttribute("minlon")] public double MinLon { get; set; }
    [XmlAttribute("maxlat")] public double MaxLat { get; set; }
    [XmlAttribute("maxlon")] public double MaxLon { get; set; }

    public Bounds()
    {
    }

    public Bounds(double minLat, double minLon, double maxLat, double maxlon)
    {
      MinLat = minLat;
      MinLon = minLon;
      MaxLat = maxLat;
      MaxLon = maxlon;
    }
  }
}
